<?php 
    $listaDisciplina = $this->em->createQuery('SELECT d FROM models\disciplina d WHERE d.disciplinaStatus = 1');
    
    foreach ($listaDisciplina->getResult() as $value) {
     
     echo '<option value="'.$value->getDisciplinaCod().'" >'.utf8_encode($value->getDisciplinaDesc()).'</option>';
 }
 ?>

